package com.hzw.saas.web.sso.pojo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/3/1 9:28
 */
@Data
@TableName("tb_saas_client")
public class SaasClient implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String id;

    private String name;

    private String homeUri;

    private String clientSecret;

    private String redirectUri;

    private Boolean autoApprove;

    private String scope;

    private String resourceIds;

    private String authorities;

    private Integer refreshTokenValidity;

    private Integer accessTokenValidity;

    private String authorizedGrantTypes;

    private Date createDate;
}
